<form action="{{ route('commissions.topup_to_seller') }}" method="POST">
    @csrf
    <input type="hidden" name="seller_id" value="{{ $seller->id }}">
    <div class="modal-header">
    	<h5 class="modal-title h6">{{translate('Pay to seller')}}</h5>
    	<button type="button" class="close" data-dismiss="modal">
    	</button>
    </div>
    <div class="modal-body">
      <table class="table table-striped table-bordered" >
          <tbody>
              <tr>
                  <td>{{ translate('Seller\'s') }}</td>
                  <td>{{ $seller->user->name }} ({{$seller->user->email}})</td>
              </tr>
             <tr>
                  <td>{{ translate('Seller\'s Balance') }}</td>
                  <td>{{ single_price($seller->user->balance) }}</td>
              </tr>
          </tbody>
      </table>
          <div class="form-group row">
              <label class="col-md-3 col-from-label" for="amount">{{translate('Amount')}}</label>
              <div class="col-md-9">
                  <input type="number" name="amount" id="amount" value="" class="form-control" required>
              </div>
          </div>

      
    </div>
    <div class="modal-footer">
      <button type="submit" class="btn btn-primary">{{translate('Pay')}}</button>
      <button type="button" class="btn btn-light" data-dismiss="modal">{{translate('Cancel')}}</button>
    </div>
</form>


